home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 351-375 / disk_351 / pdc / libsrc.lzh / LibSrc / StdLib / Makefile < prev    next >
Makefile  |  1990-04-07  |  1KB  |  54 lines

  1.  
  2. #  Libraries and headers for PDC release 3.3 (C) 1989 Lionel Hummel.
  3. #  PDC Software Distribution (C) 1989 Lionel Hummel and Paul Petersen.
  4. #  PDC I/O Library (C) 1987 by J.A. Lydiatt.
  5. #  This code is freely redistributable upon the conditions that this 
  6. #  notice remains intact and that modified versions of this file not
  7. #  be included as part of the PDC Software Distribution without the
  8. #  express consent of the copyright holders.  No warrantee of any
  9. #  kind is provided with this code.  For further information, contact:
  10. #   PDC Software Distribution    Internet:                     BIX:
  11. #   P.O. Box 4006             or hummel@cs.uiuc.edu            lhummel
  12. #   Urbana, IL  61801-8801       petersen@uicsrd.csrd.uiuc.edu
  13.  
  14. #  Makefile to generate standard C library functions
  15.  
  16. CC    = ccx
  17. CFLAGS    = +INDU:include.h
  18. AFLAGS    = -Wa-INDU:include.i
  19. LIBR    = libr
  20. ADD    = -a
  21. INSERT = -r
  22. SORT    = -x
  23. LIBRARY    = PDC:lib/PDC.lib
  24. RM    = delete
  25.  
  26. SRC1    = system0.asm
  27. SRC1    = environment.c system.c
  28. SRC2    = strtol.c strtoul.c strtod.c strtotd.c strtotud.c
  29. SRC3    = atof.c atoi.c atol.c
  30. OBJ0    = system0.o
  31. OBJ1    = environment.o system.o
  32. OBJ2    = strtol.o strtoul.o strtod.o strtosd.o strtosud.o
  33. OBJ3    = atof.o atoi.o atol.o
  34.  
  35. OBJS    = $(OBJ0) $(OBJ1) $(OBJ2) $(OBJ3) 
  36.  
  37. .SUFFIXES: .c .asm .o .lib
  38.  
  39. .asm.o:
  40.     $(CC) $(AFLAGS) -c $*.asm
  41.  
  42. .c.o: 
  43.     $(CC) $(CFLAGS) -c $*.c
  44.  
  45. all:    $(OBJS)
  46.  
  47. collect: $(OBJS)
  48.     $(LIBR) $(INSERT) $(SORT) $(LIBRARY) $(OBJS)
  49.  
  50. clean:
  51.     $(RM) \#?.o
  52.